package stu.sup;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@MapperScan(basePackages = {"stu.sup.mapper"})//mapper扫包
@EnableTransactionManagement //使用声明式事务-service层
@ServletComponentScan // 开启servlet注解
@SpringBootApplication
public class SeeSuperApplication {

	public static void main(String[] args) {
		SpringApplication.run(SeeSuperApplication.class, args);
	}

}
